package UCM;

import Views.ViewDisplayCreateAirport;

/**
 *
 * @author Joshua King
 */
public class UCDisplayMakeAirport implements UCController {
    private ViewDisplayCreateAirport view;

    /**
     * Initialises the view.
     * @param view
     */
    public UCDisplayMakeAirport(ViewDisplayCreateAirport view) {
        this.view = view;
    }

    /**
     * Precondition: user is logged in as manager
     * 1. Users clicks on the make airport button.
     * 2. System displays make airport view.
     * Postcondition: user is on make airport page.
     */
    public void run() {
        //2. System displays make airport view.
        view.setMakeAirportVisible();
    }
}
